<?php /*a:1:{s:65:"D:\phpstudy_pro\help\application\home\view\voluntary\getCode.html";i:1625375616;}*/ ?>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div id="code"></div>
<script src="/static/home/js/jquery.min.js"></script>
<script src="/static/home/js/jsbn.js"></script>
<script src="/static/home/js/prng4.js"></script>
<script src="/static/home/js/rng.js"></script>
<script src="/static/home/js/rsa.js"></script>
<script src="/static/home/js/base64.js"></script>
<script>
    var modulus,exponent;
    modulus='<?php echo htmlentities($modulus); ?>';
    exponent='<?php echo htmlentities($exponent); ?>';
    var pwd='<?php echo htmlentities($mm); ?>';
    var rsaKey = new RSAKey();
    rsaKey.setPublic(b64tohex(modulus), b64tohex(exponent));
    var enPassword = hex2b64(rsaKey.encrypt(pwd));// 加密后的密码密文
    $.ajax({
        url:"Input",
        method:'post',
        data:{
            enPassword:enPassword,
        },
    })
</script>
</body>
</html>